package com.lightsaber.trade.cloth.service.category;

import java.util.List;

import com.lightsaber.trade.cloth.entity.category.CategoryNode;
import com.lightsaber.trade.cloth.entity.category.CategoryOwner;
import com.lightsaber.trade.cloth.entity.category.CategoryPlanner;

public interface CategoryPlannerService {
    public void create(CategoryPlanner categoryPlanner);

    public CategoryOwner findById(String id);

    public void deleteById(String id);

    public void saveByCategoryNodeAndRoleCodes(CategoryNode categoryNode, List<String> roleCodes);

    public void saveByCategoryNodeAndRoleCodes(String categoryNodeId, List<String> roleCodes);

    public List<String> getRoleCodesByCategoryNodeId(String categoryNodeId);

    public List<CategoryPlanner> findByCategoryNodeId(String categoryNodeId);

    public void inheritPlanners(final CategoryNode categoryNode);

    public void deleteByCategoryNodeId(String categoryNodeId);

    public void copyPlannersByCategoryNode(final CategoryNode oldNode, final CategoryNode newNode);
}
